package com.tbit.uqbike.service.business;

import com.tbit.common.entity.view.Result;
import com.tbit.uqbike.object.pojo.OutAge;
import com.tbit.common.entity.pojo.dto.OutAgeDTO;

/**
 * 一键停运
 * @author <a href="mailto:liu.haoxiang@tbit.com.cn">BUGXiang</a>
 * @version 1.0
 * @since 2025-1-22
 */
public interface OutAgeService {


    Result<OutAge> queryOutAge(OutAgeDTO dto);

    /**
     * 添加或修改一键停运信息
     * @param outAge 一键停运信息
     * @return Result<Object>
     */
    Result<Object> addOrUpdate(OutAge outAge);


    /**
     * 根据品牌id或区域id删除停运配置
     * @param brandId 品牌id
     * @param accountId 区域id
     */
    void deleteByAccountId(Integer brandId, Integer accountId);
}
